package com.anolesoft.yr.mbus.cont.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 合同购买哪些产品的关系表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cont_prod_rel")
public class ContProdRel implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "objuid", type = IdType.INPUT)
    private String objuid;

    /**
     * 合同表主键
     */
    @TableField(value = "cont_main_uid")
    private String contMainUid;

    /**
     * 产品表主键
     */
    @TableField(value = "prod_product_uid")
    private String prodProductUid;

    private static final long serialVersionUID = 1L;

    public static final String COL_OBJUID = "objuid";

    public static final String COL_CONT_MAIN_UID = "cont_main_uid";

    public static final String COL_PROD_PRODUCT_UID = "prod_product_uid";
}